The original file wouldn't run in Processing3 (3.3.2) throwing an error that vairable pos didn't exist. Added the creation of the variable and modified the line throwing the error under display()
Thanks! Actually the mistake is in the borders() method where loc should be replaced with pos. There also may be more other places where I'm using the nam loc. Do you want to resubmit?
The original file wouldn't run in Processing3 (3.3.2) throwing an error that vairable pos didn't exist. Added the creation of the variable and modified the line throwing the error under display()