Numerical valuation of discrete barrier options