Lab3 code added