Implemented locking pieces and finding and deleting full rows