update of assignment 3, update of lab10 codes