Added ordered/unordered to pile types and wrote a decent equals for Pile