Got rid of the ugly code, almost

The function now accepts an array of arrays, now that the constants are
in a shared header file.
Removed Header.h

Exactly what it says on the tin.