Gravar-mail: Competitive Learning in a Spiking Neural Network: Towards an Intelligent Pattern Classifier