added pop, clr, and out functions to the stacks. Also updated the tutorial