When I execute this, Arduino puts on the Serial Window, random 6,5, and New Lines.
You have the Arduino on one end of the serial port. On the PC, there can be one thing on the other end. Is that the Processing application or the Serial Monitor? It can't be both.