Implemented walk and added documentation.