basic filehandling, no compilation as of yet
makefile added, changes made to enable compilation