Cosmetic changes to the code were made. Readability was improved.