Simple line follower to get people started

What do you think about using named functions instead of callback hell?