new function

added a new function that loads all the images and makes collision masks for them