I made this because I was bored.
Feel free to use in your own projects! Originally made by me in Python.