Errors in code

This code is for Processing, not Arduino.