Python script showing recursive factoria and c++ showing bool