torus collision detection for passive walker and printouts added to passive-walker example