(feat) complete week3 programming challenge