added ternary

I added a second script after the first for Ternary