Created World and PendulumWorld classes