Solution to Assignment 1 for Matchismo CS193p