removed save_UAI method from CFactorGraph
added CUAIFile class with save method