Working version of the backstabbing problem that achieves many solutions