created program that generates random number and logs all odd numbers from 1-50 but skips random number