Modify relative imports to Python 3 style
Fix division

On Python 3 any division results in float, while on Python 2 if you use
only ints you would get a int. Change code to use the correctly //
division, that always return a int on both Python 2 and 3.
Merge pull request #12 from m45t3r/python3

Add Python 3 compatibility, take 2