Debug Utility functions

These functions are used to make print-based debugging easier.

All of these functions are essentially big switch() statements which assign an appropriate string for the passed parameter and return the assigned string. This way the string can be printed or otherwise easily used.