Made PIPE_CHUNK_SIZE static as it technically should be.
Header file for arduino code generation stuff.
Implementation of functions for Arduino code generation.
Changed the write_loop() function - got rid of the loop variable to just get rid of compiler complaints without messing with const too much.
Makefile now takes into account the code generation stuff!
Added the necessary includes.
Closing of files added. We now free the pipes array.

Added the code to write the output to files.
Forgot to make mux_update a function call in write_loop. Fixed.