Implement sampling from population inventory
Sampling from the population inventory starts from Mirana's functions and code and refactors them into more comprehensive / concise code, split between functions (in a dedicated file) and usage (in INVENTORY_05 script).