added sourceCode for lab#2