refactored
Adding the horizontal ship placement test