added header to for-loop code with reference to processing.org entries