removed method createClausesList and added a getClauses method to the MyPredicate interface