Update SearchMap.java

not there yet but does quickly find a solution for the easier version of the long case so it may be a starting point