Added sent code by Prof.

1. Understand the methodology.