Adding delegate example and updated assignment 2