B09 Lab week 7

This is an exercise in modularizing C code.

The provided program main.c consists of 3 parts that should be split into 3 files instead:

Do the splitting. Also write the corresponding header files `complex.h' and `vector.h'.

When marking, the tests involve alternative programs/modules that use the complex numbers stuff only, or the vector stuff only, or complex stuff not current used (e.g., complex_add()), or vector stuff not currently used (e.g., vector_add()).

What to hand in: complex.h, complex.c, vector.h, vector.c, main.c