Changed executeProgram to execute, and removed an unnecessary argument from it