Finished Paircount.c.
Completed homework.