Updated to Python 3.

In order to preserve compatibility with Python 2, raw_input was preserved.
Merge pull request #29 from berislavlopac/upgrade_python_3

Updated to Python 3.