refactor & tests
add test for Jumble game and refactor game loop