Addng Unit2 code snippets for the students to try out