added 3rd assignment
implemented filtering
implemented union
dummy impl. for 3rd task