adding sample code + makefiles