Added tracking of where walls are, to prevent moving through

closes #3