Working on class problems, new midterm problem