lab8 - linearSearch