condensing genValidMoves with int[2][2] strategy