IfStatement function

Create a new IF-statement.