utils/general.h file

General utils.