Added createLayer method to map class, which will be used to add repeating tile patterns to the map