Add reversed version of arrayed map
Add wall collission check

Also fixed arrayedMap-function