HW11 ch6 for ece314 done