Refactored main.cpp

removed myFunc();