function removeFrom(list a, list b): for i in 0..length(a) for j in 0..length(b) if a[i] == b[j] remove a[i] end end end end