Updated client to parse the string return values from the socket and calculate the solution to the simple math problem