Corrected again
GNU General Public License v3
Code-Style improved.

Added GNU GPL header and improved comments.