lab1 achieved. working code. submission