An approach to simulation software for discrete time models