Solved problem 2
Updated to work with Python 3.3
Merge pull request #3 from AmusableLemur/problem2

Solved problem 2