added printBoard and pushBoard
added pushBoard and printBoard in board.java