added comments to MapHistory and attempted BFS algrorithm in PathCalculator