Added method to create comma separated list from array