Update Display.java

new format to get rid of parsing equation