pub fn build_table_sql(table: &str, dim: usize) -> String
Build CREATE TABLE SQL (pure function, convenient for testing)