cs43 lab5 code