I have added a lot of format, for example for the output of the program and corrected spacing. Also I have corrected minor issues.