Adding exercises from cpp class