Added method getDirections method that returned an array of directions for how to get from the ghost (a parameter) to each of the Points in the Point[] (other parameter)