Complete the code to get all inputs to class "MaximizeInequation" and "Inequation". In "Inequation", I use 1-dememsion vector to contain input information and set 'index' variable to deal it like 2-demension vector.
Delete some 'enter'.