A java library for the Duckworth-Lewis method