Added ability to selected and move pieces to valid squares.
Added ability to selected and move pieces to valid squares.