Implementation of Racetrack (graph paper game)