fix typo in generate_valid_ship_position