my collection of function I frequently use in C