possible paths are there for the robot to go from (0,0) to (X,Y)