Wrote foldl and range and added a test for each
close open parens