Day 1, second commit for basic C functions