If I have an input file of names in this format:
Bill Clinton:L:George Bush
George Bush:L:Ronald Reagan
which would be interpreted as.
Bush is to the LEFT of Clinton and Reagan is to the left of Bush.
How would I go about outputting this order with the use of LISTS?
Ronald Reagan
George Bush
Bill Clinton
************************************
I was going to take the approach of reading
Bill Clinton in to one string
L into another string
and George Bush in to another string
but from there, I don't know how to make use of the list?