add result, change sum1 to sum1 + sum2 in secondStep.py and getMinEN.py