update makefile, now linking briansFunction.cpp to required files.
update to briansfunction so it can be used