Java Program Queue Using Stacks Leetcode