An Unsupervised Competitive Neural Network based on Local Inhibitory Links