Exercise 3.4: Implemented the dropWhile function and tests.