Change create_board_moves to do end instead of method on one line