Update Reaching Algorithm Implementation.c