What exactly are you asking? You want to write a program, by all means, write one, and if you would like feedback on it, folks will be happy to offer commentary.
If you want to know "how" to go about writing your own program, well, just pop open a text editor or an IDE, and start writing.
Maybe if you expand upon the question, people can offer some better suggestions, more along the lines of what you want.