rearranging convertToEasyStarGrid method to live in the XRoads.Grid namespace where it makes more sense
refactoring findDirection method in creep.js