Set up the basic framework from before for returning the next move.