Implemented Hamming method for Board and added unit test to BoardTest.