Add makePlanToState method and remove makeRandomMove method

Add makePlanToState method that uses Dijkstra's to calculate the
shortest path between two given states. Remove the makeRandomMove
method as it was not being used by anything.