Creating a stack in solidity via a linked list.