Problem 4

This implementation will only run in Firefox, because it uses generators
and array comprehensions.
Add gitignore.