Circle & Rectangle: Made requireNonNegative helper function static.
Circle & Rectangle: Fix to_string() implementations and add tests.