This is a program re-designs the "set" in prolog. Meta programming is used to creat a select function.