change instance variables to attribute reader methods
Merge pull request #16 from sealocal/use_attr_reader_methods

change instance variables to attribute reader methods