Implementation of Q learning and deep Q network for controlling a self balancing robot model (Robotics and Biomimetics, 2018)