Implemented greedy action selection, encoded states (4D to 2D, based on distance) and next is epsilon-greedy