Python Insert Array Into Sql Table Generator