Adding solutions for problems 2 and 3

Solving problems 2 and 3, updating the .gitignore to ignore eclipse
configuration files. Updating pom to include Guava.