Missing return statments from the odd and even function