100 Doors Coding Challenge from Rosetta Code