added the rest of ecc_lab week 3