A basic random level generation algorithm, based on the Drunkard's Walk algorithm. Code is explained inside.
Use with credit, please.