Add Stack class to make the first test pass.