Add Dependency Inversion Principle exercise code.