ported to py3k, fixed minor typos

Hi Kushal,

I've ported the "code" to py3k and fixed some minor typos.
Ref: https://github.com/svaksha/pym/commit/a37c3a93321ab231da7904bc833850f9be014261

HTH, 
@svaksha