Add ternary operator exercise