The solutions i came up with for learnyounode tutorial