We've been writing scheme in class. Here are CPP/STL versions of some of the applications we covered::