"Phone Book Contract" Example Version 4

In my previous post, any account could add and delete from the contract. so in this post i will be using "Modifiers" to check that only the creator of the contract can add and remove data but any one can view the phonebook Modifiers can be used to change the body of a function. Modifiers let you wrap additional functionality to a method, so they're kind of like the decorator pattern in OOP. pragma solidity ^0.4.0; contract PhoneBookAresh{ //Declare a struct similar to C++ struct Person{ string fullName; string number; } //Events event Log(string name, string number); //An Array of structs similar to C++ (flexible storage) and index start at 0 Person[] MyPhoneBook; //whos phonebook it is. The Value is the Hex value of the account address creator; //this is a constructor, notice it has the same name as the Contract name function PhoneBookAresh() public { creator = msg.sender; ...