search.java completed but not tested