Exercises for learning programming