A simulator for Homework 2, Question 4