Remove function used only once.
Created EmptyList and used to empty the lists.
Made the code a bit clearer.