Adding the source code

the latest version before the midterm presentation