Added deck initialization loop