a simple getting started calculator with java