pseudo code for programming/choreographing dancers