Implemented SearchAlgo

It is implemented with the assumption that the input (from SearchInput)
is given to it in a square 2 dimensional array. I changed that class to
better "stub" what we need.