deque java geeksforgeeks