code and data for maxent Assignment 3 FML