update example.py

changed working of join to join datai correctly without using lst argument