Qlearning and printBoardQ