added functionality in Permission.java that allows easier visualisation
of permissions