finish lab3: adding stack solution