CheckShipSurrounding function impemented