Adds exercise 5 of learnyounode