Added dequeue, exit, print command funcitonality