Read about python code conventions. Modified the code so that most lines are shorter than 79 character