added algo for caluculating maze

added radom maze