added methods for outOfBounds, emptyCell, invalidCell
refactored pieces
Merge branch 'refactor-pieces' into gh-pages
rules looping stopped, only rules button touches work