Homework assignment 1 for Computation Investing, Part 1 from Coursera