programming III class - excercises