after seeing your codes, first kindly confirm if you are working on an updated copy of assignment
I am doubting that you are working on an obselete copy.
Check in the lab environment, click on ?, then check log, you will know if you are working on an old copy.