Added homework writeup and fixed issue with unused pass.