still modifying directShip so that it determines the direction based on the boolean value of each directions' availability