read string data and using eval method to get list of turple