Quick and Dirty Calculator written in Java