recover.c from cs50