Attribute credit to Sebastian Py
Strike out one approach for Problem 2