log of things i have learned while coding battleships.rb