Case Based Reasoning Algorithm Example Math