Implementation of DQN