Correction

Correction in use of a fromList function because this it has a O(n*log n), and singleton function have a O(1).