Moved code to include files

Moved code to include files and changed title of Lecture 1 page