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