added ans to exercise 1.3