added methods to Hero class and test code in main to check build
modified constructor and updated the instantiations to accommodate the changes.