Welcome to the forum.

Please read this topic.

Note that we don't write code for you, but we'll help you with code you've written.

Good luck!