The above code doesn't work since we can't use char data on compareto!!!!!!!!!!! Here is the final version...
Separate names with a comma.