Minor changes.

Made preparations for the fill-the-empty-places-with-walls algorithm.