Change in structure of rank list.
Use the Hashmap correctly.
Find maximum number of pigs lying on same trajectory