making a maze game, like my first for fun program in matlab, using the map and functions I wrote for world RTS