fixed bug and added dummy tuple type generation

- stage/algorithm/type.cpp wrongly assumed that all TupleTypeArg had a name set
- CodeGenerator now synthesizes some dummy C code for a tuple. Needs to be improved.