Welcome to the forum! Please read this topic to learn how to post code correctly and other useful info for new members.

Too much unformatted code posted incorrectly. You should be able to edit...