Stock Span Problem Assignment