Quant II Homework Code