added get all valid moves method, not taking into account the check/checkmate situations