Pages, Difficulty, FlowLine,Probability, Validity

Implemented the difficulty levels for pages,
Probability calculation done,
Validity of activities and constraints implemented.