Update MainFunctions.cpp
Merge pull request #1 from Yellowellell/patch-1

Update MainFunctions.cpp
Merge pull request #2 from GoshaYarosh/Debug

Debug