4Sum via KSum added (not optimal though)
Minor refactoring