Write predicate scope as HashMap the key of the HashMap is the predicate
and the scope of the HashMap is the value for that key.
The key stopred as String and the value stored as HashSet of String.

Read function is working...