Odd and even corrections

corrected odd and even program so that its easier to read .