Completed challenge 12 of learnyounode.