completed homework No1 incl. problem 6