Implementation of a battleships game as a coding kata for functional programming.