added will's code to exercises02