Fixed the error on the 2nd formula when looping through odd numbered words by subtracting a 1. Also added tests for both methods.
Fixed second function by just putting the num submitted into the list the number vs. putting all numbers before it into the list. Also since starting from 0 made sure that it only looped the number of times of the number itself which required three dots in the each loop.
Added duplicates problem.