Modefied the code for alphanumeric charcter also