Homework #7
Implementation of Sequence on Stack