Simple calculator program in fx