basic tilemapping functionality implemented

capable of saving tilemaps with padding to unpadded images