Code to train and re-train a robot without changing the coding.