update Makefile
add functions to Function.cpp