CS3505 Assignment 5, mmfpeg