Processing sketch for final project