Adding G.java and updated Hangman.java