Set Up Hot Corners For The Compiz Grid Plugin Using A Script

I've recently seen a screencast by gotbletu about setting up hot corners for the Compiz Grid plugin which is not hard to set up but it requires a lot of copying and pasting so I though I'd make a script to do everything automatically so to achieve exactly what you see in the video, all you have to do is run the script I've created.

 

Bur firstly, what does the Compiz Grid plugin do?