Solved problem 1 in Smalltalk, documentation, et al. is more pythonic in probelm 1, as well.