Algorithm For Data Compression Ratio