added sayHello function and isOdd function