Control a robotic modular snake through a GUI program