move main() -> main1() in SearchExample.java