Implementation of a IFELSE operator for integer numbers (instead of
church notations)