First off, do yourself a favour and indent your code so it's actually possible to work out what is going on there.
Secondly, look at teh error message - if I paste that code into an online compiler, it tells me teh first eror is on line 90:
Main.java:90: error: expected
returnnew SearchResult(cur, false);
And a quick glance at that and it's obvious what the problem is: you need a space between "return" and "new".
Fix that, compile again, look at the first error.
Repeat this for all the other errors until you get a clean compilation, and you can start looking at runtime errors - and use the debugger for that!