Implemented HexGraph in C#.