mmpc -4 solved assignment