Final MainPanel.java

new three methods added checkword() checks the char in the word 
changeLines() prints the character if you find it int the word instead of lines
generateLines() generate lines with number of char in the word