slight changes to battleships.rb