Stack homework