A text based game using java