Conditional statements and Loop structure