Assignment Update

wrote assignment code