A simple implementation calculator on Java