refactor oddSumTo to use math instead of a for loop
add to todo
refactor oddSumTo to use math instead of a for loop