Hill Climb Algorithm Example Math