Remove unnecessary quotation marks.
Change function name.
Add direction map global variable.
Add more generic generators.
Change borders to use generic generators.