started new array structure for easier sorting of items, more commenting stuff out

REALIZED that theres a bug i introduced, but it's already present
before this commit - it used to be that decreasing an item to 0 in the
cart would remove it in a second, but now it just stays there. also can
go negative?