Some changes according to PEP 8. Max line width taken 82 insteed of 79.