Basic collision detection with walls