Made blockchain.py alot more pep8

Hello, really liked the idea of this repo so I thought I would try to help by reformatting blockchain.py, if you like it I can do some others also. Its now alot more pep8, and I think it looks a lot nicer but that's subjective.