how are slot machines programmed