adding in stack using two queues method