Generation of Locomotive Patterns and Self-Organization