Added iterate() method. Optimised HashMap.
Deleted the Double classes because they have unnecessary overhead.
Merge pull request #41 from mfrancis95/mike

Map additions and optimisations, deleted Double classes