Convert A List Into An Array Python