Exercises for searching and sorting