Various exercises for students, primarily in Java and C++