Added some more comments for clarity in the stack0 solution