Java Home Work IF/Else