First task of the foreach exercise
Revise to only print scalar values
iterate through each value and echo out every value, including those nested in arrays