formating changes for python3

This is a start, there are some failing tests but I'm having trouble determining whether they are failing because of something in my system or part of the code.  

fixes #2.