Added code for lab-1