python 3 compatability
integer division
python 2.6 compatability
Merge pull request #53 from petropavel13/python_3

python 3 compatability