my program for lab 9