Added "else if" and logical operators
Added comments