added lab #9 code template