User:Kylu/matrix gen

Yes, it's really quickbasic. Feel free to laugh, but it works.