Width Min Max Algorithm Example In C