again refactor an if ... elif ... elif into a dict
Fix line rotation bug

Introduced when refactoring ignored the special-casing of the line piece.
down is also a direction
change misleading comments
bug fix in string representation of board
not using this yet
comment tweaks
add pause (temporarily)
refactor line rotate