How can the Pong game code be modified to add a scoring system that keeps track of the score and displays it on the screen? Please provide specific code examples for the changes that need to be made to the existing code.