JS HomeWork (function walk)

JS HomeWork (function walk)