Get some c code going with different optimizations

Related to #7