began implementing calculator logic for reverse polish notation