A python program for finding transitions between juggling patterns