Create ex17.c

A simple (and inefficient) database program.