c++ practice exercises for exams @ math department university of patras