Implementing simple C standard and some other functions for exercising