IT WORKS! TODO: come up with list of test cases, and implement parentheses