PEP8 and better string formatting

For string formatting, we could have used the .format() method but I don't master those things atm.