filterNULL function

remove NULL elements from a list