Updated class to use "protected" instead of "private" access modifier.
Merge pull request #6 from Sam152/master

Updated class to use "protected" instead of "private" access modifier.