added Ship.getRange(),Direction.getRange(),Ship.isConflict()