changed return type of pop()

since pop() no longer returns an integer, now that it has no error checking. also made changes to the pop() comment to reflect this
updated pop() comment to reflect new parameter
added shift and unshift