Update display.java

added update() function that includes repaint but also updates turnCount