What exactly does this line of code do: Rotary rotary = Rotary(2, 3);

Rotary with capital R is a class; rotary with lower case r is a variable of type Rotary (or better phrased, an instance of class Rotary)