Implemented lesson #2 - PermCheck