Swift Array Foreach Is Not A Function