Queue was renamed to queue in py3
print has become a function in python3
In Python 3, the filter() function returns an iterator, not a list.

http://www.diveintopython3.net/porting-code-to-python-3-with-2to3.html#filter
xrange was removed in py3 (makes no difference for stop=10)
use __future__ proof importing
sys.maxint has become sys.maxsize

http://www.diveintopython3.net/porting-code-to-python-3-with-2to3.html#renames
fix median calculation for uneven list lengths (and py3 division)
string.split is deprecated

https://docs.python.org/2/library/string.html#string.split
add tox.ini to run tests on different pythons
release with py3 compatibility