Generates random maze using webgl and breadth first search algorithm