Completed justifytext, sort.c, and corresponding writeup questions