SubSum implementation

Implementation of the SubSum attack.