added code for testing generateStepMoves