Computational investing, part I: Homework 5