Added main() and Makefile.