attribute code and unit test
Merge pull request #35 from uiuc-cs428/iter2_attributes

attribute code and unit test