added tooltips

Added tooltips that show up for information on how to use graph and alerting users when the word they type in has not been used.