Program written in Scheme for first year Knowledge Integration class