Added Main and MyStack classes