My solutions to the challenges in Learnyounode