Added documentation and change error output.
If an error occurs, the message "Compiling -> [FAIL]" will be displayed, followed by the contents of the error. The output of the compile code is saved in a temporary error.log file, which is displayed upon an error. It is then removed after its contents have been displayed. Also, comments have been added.