Simple program to print an entered string