Text this: Optimization algorithm of autonomous maze solving robot