Creating a smooth, continuous path for a micromouse with a state machine