wall collision detection; working on worm