finished a general bomojo table parser function, tricky stuff