Here is an infographic about the 4051 Multiplexer used in the project. Arduino playground have a very good article on the subject.