Java String Calculator implemented using Test Driven Development