added snake growth, and collision detection