Code to run keypad and stepper motors