Edited loop method in load functions
tile neighbours are now implemented in an array
Added loader function for generating tile imagedata