Changed OddOrEven and added a test class.