added test cases for BoardTest.java & updated Board.java