Added printBoard for debugging