Compiles both programs