creates initial version of a locomotion controller implemented in python