Implementation of Hex board game - http://en.wikipedia.org/wiki/Hex_(board_game)