Did the assignement

My version