Dividing sketch (classes)

Hence why I have included the sample code and resulting error beneath it; in addition to the sample code I posted previously.

These demonstrate what I have tried in the clearest possible way, no?