Simulation of hangman game using java connected with database for the retrival of words