Update Program.cpp

Boolean correction