Modified valid_parentheses.hs to use a much simpler stack-based parsing strategy. Less general, but also less complicated.
Solved 188.
Solved detecting_cycles.