finished isValidMove

should be good, haven't written any tests yet will do that later, also
started listValidMoves