initial commit of Pile code.
use next() to get the next pile.
and modified pile() method to set next pile at the tail of the linked list.