Part of a developer challenge given to me as a requirement to be considered for a Junior Ruby Dev position