starting a major refactoring of battleships.rb - bug fixed in coordinate assignment