I am learning how to create a maze using Javascript. I went through the following code. Basically the logic is to randomly pick a square (I hard coded the value so I can bet