added a few more file types to ignore
added working source example for a fd buffered reader
added makefile
cleaned up code