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

Solved problem 1