Separated out loop in play_hangman.rb.

First version of play_hangman_spec.rb now functional.
Built an integration test for play_hangman.rb.

It tests the majority of the file, but not the loop.

Signed-off-by: Hanna Hagenmalm <sorida.lava@gmail.com>