Python 3 migration

Dan, it might help you to see how I got the nupic.cpp working in python 3 here: