answered 12, 13, 14, 16.  All should be converted to python scripts with comments.  solution to 14 is too slow.