bitCalculator exercise