Added a Python 3 solution.
Merge pull request #107 from prsteele/master

Added a Python 3 solution.