stack using array and stack using array test