Inversion of gravity data by random search technique