CS673 Discrepancy Theory and Its Applications