Text this: Applying Q learning algorithm to the game of Tetris