Python script to generate err_code.c added

This script expects one argument, the cl.h file, and outputs the
int err_code(cl_int err_in) function to stdout. This should be saved
in {Exercises,Solutions}/C_common/err_code.c in order to be compiled
into the examples which require this file.

Closes #21