A neural network clustering algorithm for the ATLAS silicon pixel detector