implements random ships generating and collision methods