Redefined Makefile build targets and reformatted src/table.c.

Execute 'make' with either no argument for a normal build, 'debug' for a
debug build, or 'release' for an optimised build. Each function in
src/table.c now follows the convention that function return type is on
its own separate line.