fixed indentation and removed the boolean remove from solve maze