Added Stack class and example driver code