Added ranking of different statistics and also added writing to a file witihn the local directory. Also updated README