python file to test the ranking after votes