Added support for python 3.4x

Tested on python 3.4