Adding Deque by setting the subsequent node to null