Added conditional operator, done with Chapter 2.