Finished cns187 hw6