Create a function which returns the total of all odd numbers up to and including n. n will be given as an odd number.
n
addOddToN(5) ➞ 9 // 1 + 3 + 5 = 9 addOddToN(13) ➞ 49 addOddToN(47) ➞ 576
Curiously, the answers are all square numbers!