Implemented Stack. Needs more testing.