Various exercises in data structures and algorithms