Code added for forced checkpoint and implemnted Hilary algo , bugs exist