Moved search algorithm foundations to doSearch(...) in main.cpp and added getChar() to Grid