Finally got the bugs out of the hb wang map generator