Before posting, please properly format your code with indentations etc so that if can be read and understood more easily. Also please use code tags (Go Advanced, select code and click '#').


...