node creation for if-then-else i.e. conditional expression