#include "stack.h"

using namespace std;

int main()
{
    {
	Stack stack{};
	for(int i{}; i < 5; ++i)
    	{
    	    stack.push("book" + to_string(i));
    	}
	cout << stack.to_string() << endl;
	for(int i{}; i < 5; ++i)
	{
	    cout << stack.top() << endl;
	    stack.pop();
	}
	cout << stack.to_string() << endl;
    }
    /* Du kan lägga till kod som testar all funktionalitet nedan */
}