made runs random and added statistics

made runs random and added statistics