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

Update MainFunctions.cpp