Handled public interface.
extracted maze top and bottom line printing
removed redundant space
improved some naming
Steps including adding tests, renaming some variables and making the
case statement less surprising so it can be extracted to methods.