Formatted the code.
Enhanced code comments.