adding .cpp which runs the prompt analysis