implemented nextPiece into __init__
rendering