Create ifStatements.java

In retrospect this code looks disgusting.