Example of Converting Array to List, vice verca