A simple JAVA calculator