removed trailing spaces
exercise 2.3 partially completed