added main to LinkedStack