Reformatted python file

Created a dictionary to contain information