A digital logic circuit simulator for TI calculators