Generates a map of tiles based on the patterns found in a block of text. https://www.youtube.com/embed/IVvxzeTbqKo