Graph algorithm implemented with Apache Giraph for large neural network simulation