Search is fully running.
Not working debug needed. Implemented test with random numbers.