Added foreach Loop to Output details of Array
Added if Statement to determine specific  =>
removed empty spacefrom functions