Functional Programming and Arrays in GameMaker