modified the printb to show the board in 2-D manner