Added functions to the Piece class to calculate block type and init position