Created a traversal function to solve an easy puzzle

Oskar, Erik. 5 hours 30 min. Adil 3 hours, 30min.