Home work 3 for the course resilient hardware.