Added log.h and log.cpp

Added logging functions(i was just testing out pull )