if else statement in java flowchart