Created Class Frequent and Modifeid assciation accordingly. Getting the
right output