Naive Connected Components implementation in Processing