Some basic exercises with arrays and strings