Advanced in Demo

Added a bucket function and a collision function..