Context
The TEAL stores opcode stores a value from the stack to a scratch space with index from the stack. The loads opcde takes a value from the scratch space and puts it on the stack. These are already available in TEAL.
Note that store and load opcodes functionality already exist in PyTeal, so this story if just to add the stack usage part.
What are you looking for?
stores and loads functionality should be made available in PyTeal.
(Optional) Design considerations
also, could be useful to add a new method to scratch var that returns the scratch ID.
how do we allocate a range of scratch slots.