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 ex or real case study describeing why each function of law fulfills or does not fulfill its purpose.