bagNBall Session 2 of Object Paathshale [conducted by Kiran G]. Code pertaining to the problem of putting in coloured balls into a bag (of finite capacity) which has certain rules around which balls can be added