Stack dynamic

Added dynamically implemented stack