Creation of the two method showWord and getWord