Python square root finder using the babylonian method