Motion of a Triple Rod Pendulum