Stack homework2