Fixed some typos. Improved code readability.