changed remove method

remove was removing the bottom of the stack. i made it so that it
removed hte top