initial commit of greedy dot search. before to debugging any of the code.