added stack - Boston University implementation