SMS dit: Programming discrete distributions with chemical reaction networks