Tron: Legacy

In 1989, seven years after the events of the first film, Kevin Flynn, who has been recently promoted CEO of ENCOM International, disappears. Twenty years later, his son Sam, now ENCOM's primary shareholder, takes little interest in the company beyond playing an annual prank on its board of directors.
Alan Bradley, an ENCOM executive and friend to Sam's father, asks Sam to investigate a strange pager message originating from Flynn's shuttered video arcade. Sam discovers a large computer in a hidden basement, which suddenly teleports him to the Grid, a virtual reality created by his father that exists within ENCOMâs computer mainframe.[6] He is quickly captured and sent to "the Games", where he is forced to fight a masked program named Rinzler. When Sam is injured and begins bleeding, Rinzler realizes that Sam is a human "User" and takes him before Clu, the Grid's corrupt ruling program who resembles a younger Kevin Flynn. Clu nearly kills Sam in a Light Cycle match, but Sam is rescued by Quorra, an "apprentice" of Flynn, who conveys him to his father's hideout outside Clu's territory.
Flynn reveals to Sam that he had been working to create a "perfect" computer system and had appointed Clu and Tron (a security program created by Bradley) its co-creators. During this construction, the trio discovered a species of naturally occurring "isomorphic algorithms" (ISOs) not conceived by Flynn, bearing the potential to resolve various mysteries in science, religion and medicine. Clu, considering them an aberration, betrayed Flynn, seemingly killed Tron, and destroyed the ISOs. Meanwhile, the "I/O portal" permitting travel between the two worlds had closed, leaving Flynn trapped in the system. Now that Clu has gained complete control, he sent the message to Alan in order to lure Sam onto the Grid and reopen the portal for a limited time. As Flynn's "identity disc" is the master key to the Grid and the only way to traverse the portal, Clu expects Sam to bring Flynn to the portal so he can take Flynn's disc, go through the portal himself, and impose his idea of perfection on the human world.
Against his father's wishes, Sam returns to Clu's territory on Quorra's tip-off to find Zuse, a program who can provide safe passage to the I/O portal. At the End of Line Club, its owner Castor reveals himself to be Zuse, then betrays Sam to Clu's guards. In the resulting fight, Flynn rescues his son, but Quorra is injured and Zuse gains possession of Flynn's disc. Zuse attempts to bargain with Clu for the disc, but Clu simply takes the disc and destroys the club along with Zuse. Flynn and Sam stow away aboard a "solar sailer" transport program, where Flynn restores Quorra and reveals her to be the last surviving ISO.
The transport is intercepted by Clu's warship; as a diversion, Quorra allows herself to be captured by Rinzler, whom Flynn recognizes as Tron, reprogrammed by Clu. Sam reclaims Flynn's disc and rescues Quorra, while Flynn takes control of a Light Fighter on the flight deck. Clu, Rinzler, and several guards pursue the trio in Light Jets. Upon making eye contact with Flynn, Rinzler remembers his past and deliberately collides with Clu's Light Jet, but Clu uses Tron's spare baton to escape while Tron falls into the Sea of Simulation below. Clu confronts the others at the I/O portal, where Flynn reintegrates with his digital duplicate, destroying Clu along with himself. Quorra, having switched discs with Flynn, gives Flynn's disc to Sam and they escape together to the real world. In Flynn's arcade, Sam backs up and deactivates the system. He then finds a waiting Bradley and tells him he plans to retake control of ENCOM, naming Bradley chairman of the board. He departs on his motorcycle with Quorra, and she witnesses her first real sunrise.

Question: What "perfect" thing has Flynn been working to create?
Answer: computer system