EXAMPLE MAP:
##########
#........#
#........#
##########........#
#........#........#
######.................##
############ #.......................#
#..........# ### #.####........#####.....#
#..........# #.# #.# #........# #.....#
#..........# #.# #.# #........# #.....#
#..........# ###.#######.####........#####.....#
#..........# #.................................#
#..........# #........##.####..###########.....#
#..........# #........##...................#####
#.########## #........##..###..#############
#.# #........##..# #..#
#.# #........##..# #..#
#.# #........##..# #..#
#.# ###.#######..# #..#
#.# #.# #..# #..#
#.# #.# #..# #..#
####.##### #.# #..# #..#
#........# #########.# #..# #..#
#........# #.......#.# #..# #..#
#........# #.......#.# #..# #..#
#........# #.......#.# ###..###..#
#........# #.......#.# #.........#
#........# #.......#.# #.........#
#........# #.......#.# #.........#
####.#.#.#########.......#.# #.........#
########.#...................#.# #.........#
#............................#.# #.........#
#.######.#...#################.# #.........#
#.# #.#...# #.# #.........#
#.# #.#...# ###############.#####.........#
#.# #.#...# #.............................# #########
#.# #.#...# #.#############.#######..####.# #.......#
#.# #.#...# #.# #.# #..# #.# #.......#
#.# #.#...###.#### ##.#######..# #.# #.......#
#.# #.#..........#########...........# #.# #.......#
#.# #................................# #.# #.......#
#.######.#..........#########..##......## #.# #.......#
#...................#########..##......#####.########.......#
#.######.#..................................................#
#.# #.##.........#########...#......#####.########.......#
#.# #.##.........# #..........#####.##### #########
#.# #.##.........# #....................#
#.# #.##.####.#### #..........###.......#
#.# #.##.# #.# #..........# #.......#
#.# #.##.####.#### #..........# #.......#
#.# #.#..........# #.#........# #.......#
#.######.#..........# #.#........# ###.#####
#........#..........# #.#........# #.#
#........#..........# #.#........# #.#
#........#..........# #.########## #.#
#........#..........# #.# #.#####
#........############ #.# #.....#
#........# #.# #######
#........# #.#
########## ###
based on python code by James Spencer: https://pastebin.com/zehq4vMM