added intersect, complement interface to rhs, separated array functions into a library. implemented wildcard and special characters