Basic calculator in javaFX