The gumballs and obstacles have been integrated in the code