Commented the Piece and State types.
I also tweaked like 2 other comments for functions in the file.