Homework 1 - computational investing