Created foreach.php
Changed foreach.php to check first to see if items are scalar
Created loop which displays array values