wrote an odd function

finds odds.  written both as an if and a for loop using range.