started work on getValidMoves