Addition of Python 3 compatiable version :D

After a kerfuffle getting it to work for a teacher friends lunchtime code club an issue was identified that the code was written for python < 3.x

Code has be adjusted where applicable and new file created for python 3