added exercise 5 in learnyounode