Write a python program implementing a greedy algorithm that uses a list e.g. [1,2,3,4,5] and returns the maximum possible number that one can create by using the list items once.
In the example list, the resulting number should be 54321