Minimum Unique Array Sum Python Hackerrank