Squares two ints or two doubles. Used to demonstrate random values and enums. From "Java How To Program, 10/e, Early Objects" - Chapter 6.