KCS: Completed Week 5 programming exercises.