Done some cleanup

Deleted the unnecessary  reorder method
added a line to set every pile an ID