adding lectures of week 9
initial program ex 8