First three exercises in learnyounode