Added the features to take user input.

Added the features to take user input.
upadate