words can be tken as input from user and plotted