added random maze

it wasn't testes yet
some minor changes