collision detection with walls aka lines