done with linear Search--exercise 2.1-3--