I have removed the attachment because its preferable to have the same in the post rather as an attachment.

Also I have moved your thread into the Code Competition forum