added makefile for mod_write, cleaned up mod_write source, added printk statement to test mod_write