Stack to ArrayDeque