Problems 1-3 on assignment 5.