Define the pieces in one statement.
Piece on a board.
Fixed definition of piece Z + changed variable name from p to piece.
Fixed error in Z1.