updated source.c

Cleaned useless comments out of the code.
Added new comments at the end of every mustache
deleted 1 of the 2 sorting algorithms (used the shorter code).
Renamed functions using camelCase.
cleaned up random number generator code. (verified working)