Assignment 2: Problems 1 and 2