added hashCode testing for Grid.
added otherSide function to calculate the side opposite to the one
given.
added a method to get the neighbors of a Position and a method to
determine if a position is legal.
added group identification method (with accompanying unit tests and
scala docs) to Board and updated Grid documentation.