Last homework for STAT545A