added a class that calculates pushing distance from each position on board to closest goal