Adding patterns to mapgenerator