Updated pseudocode in main.cpp