Algebras of Stepping Motor Programs