Pv core hangman code

Got dragged onto some FE related stuff so didn't get much time to do much.  I've got two more tests passing.  Can you check over and make sure it seems ok?  If it is do you want to have a look at re-factoring what we've already got?