Modified return type of getLegalMoves to Set.

Rewrote all ChessPiece-related classes to reflect that effect.