Working if, else if, and else statements