Added string searching java