fixed bug in min module, merged sample problems, added problems