Coding Dojo week 1 (third assignment)