add some cpp exercise