Implement Deque based on FingerTree data structure