Start to write answer to exercise 1-13. Not completed yet