Some basic CS concepts implemented in C as interview practice