Solution by Ruben Westerberg
ch-1.pl and ch-1.p6
Simply run the programs
ch-2.pl and ch-2.p6
When running the programs provide a space separeated list of numbers to rank. Input is sorted in assending order before ranking
If no command line arguments are specifed then a default list is used