dequee sorter added and cards deque implementation in separate package