Exponential Sums And Arithmetic Problems In Function Fields