Update Board.java

Added hashCode and equals methods