Implemented MostUsed method in main, still needs tweaking but almost done.