Got calculator server working to a point where it returns an integer result, and loops properly.