Created lookup table, testing algorithm correctness. Robots now rprintf.