Implementations for exercises in computer science