Learning Tree Structured Potential Games