Implement stack using two queues