Watch. Oh, and put it in turbo mode(shift-click the green flag)
Notes & Credits
I fixed a few glitches in your code, namely that the array sizes were off and the indexing was broken. Please comment if you want more info.
Thanks to myself 3x and to GRA0007 1x.