more cases implemented for may_share_memory
Fix: skip combinations for lists of len < 2

If a list has 0 or 1 elements in it, then there are no pairs to check.
Also, asking for combinations of 2 raises an exception.