completed programming exercises of week 5