Transformed the first problem set into valid Python 3.4 code