Yes. There are several forum regulars who could easily write such a program. None of them will, however, until you have put some effort into such a sketch yourself, and shown us that effort by posting your code.
Even if you have no code, attempt to write some.
… And this is coming from the forum regular who is most likely to just do it for you…