My Assign 2 code

My Assign 2 code