adding myDrop type definition and exercise 2 from chapter 2