Version for python 3.x

Changes made in order to run server with python 3.x
Merge pull request #1 from mjjank/python3-compability

Version for python 3.x