Replication material for "Discrete Trade" --- Ahmad Lashkaripour