Added code to defeat a character

fixes #137