generation maze on canvas