Completed valid move evaluation.
Now generates list of valid moves