Some simple programming exercises