Mesh Generator Working

And doesn't draw boxes inside out.