battleships assignment for oodp