fixed getClosestDistance

now it returns a hasmap <string, double>
Merge branch 'master' of https://github.com/Singularity623/project3