HW5 for csci3308