def step(self, action):
<EOL>return self.env.step(self._action_map[action])<EOL>
Take a step using the given action.

Args:
    action (int): the discrete action to perform

Returns:
    a tuple of:
    - (numpy.ndarray) the state as a result of the action
    - (float) the reward achieved by taking the action
    - (bool) a flag denoting whether the episode has ended
    - (dict) a dictionary of extra information