union, intersect and subtract for lists

Signed-off-by: Alexander Skjolden <alex@plastboks.net>