Changed all prints to be python 3 compatible