finish up move function
added noValidMoves function