Initial commit of midterm assignment.