Simulating the formation of spiral wave in the neuronal system