Pseudocode for soup to nuts