Homework 06 for STAT545A-Zhang_Yiming