Basic stack and queue examples