Perfect Competition Graph: Analyzing the Dynamics of Market Structures