Fixed bug with DBcreate()

It wasn't iterating through the columns right, so they weren't getting
created, it was no good.