Added python3 support

I've tested the code with python2 and python3, and it seems to work (with my bank account).