Application of artificial neural networks for gravity interpretation in two dimensions: a test study