Write a program to guess a word by trying to guess the individual characters.
The word to be guessed shall be provided using the command-line argument. Your program shall look like:
java WordGuess testing
Key in one character or your guess word: t
Trial 1: t__t___
Key in one character or your guess word: g
Trial 2: t__t__g
Key in one character or your guess word: e
Trial 3: te_t__g
Key in one character or your guess word: testing
You got in 4 trials