chapter 5: exercise 14
chapter 5: exercise 15
chapter 5: hasSubsequence
chapter 5: exercise 16