added slides and code for class 3