Redfin Interview Code - Normalize Function