Implemented an iterative and recursive solution to adding numbers from 1 to num.
Capitalizes each letter in a word.