adding print implementation in Board.java