Soln to Discrete Optimization Assignments from coursera class