Added code for t_walk.
Fixed dumb bugs.