Adding stack implementation, first version