Added an assert() function to report failures in shell scripts.
Updated header and formatting slightly
Added.