Python Print Dict Keys Integer Operations Maze