Yippy-kai-yay!
IDK what exactly I did, but somehow it worked so that random was read and proper array stuff is generated and things works.... and .... just...
LIFE. IS. SO. BEAUTIFUL. ＼（＠￣∇￣＠）／