Determines if a number is even