PHP and C based analysis of marriage data using data scrubbing