changed Hero’s attack method to affect Monster’s life. added code in main to test.