added linearSearch.java