added a Makefile
included time.h so it would compile under mingw