Formatted the code with the "indent" tool. Several formatting options are available.