initial solution for matching brackets
refactor conditionals
add conditionals and another test case
make note of approach for next test case