Added some unit tests

Will add more later
Minor code formatting changes in HexGrid