added gpl v2 license, so that any improvements find their way back here for others to learn from.