Mathematical shapes classes for teaching Ruby