List and describe four of the main functions of law. For each of the four functions you reference, provide a discussion, using at least one illustrative example or real case study explaining why each function of law fulfills or does not fulfill its purpose.