Finish pintos part of HW5.