Added Code bruteForce and smartAlgorithm to calculate sumClosestToZero