variable initialization/assignment is with "=" and not with "==", which is what you have inside your for loops. you're also missing a "3" in your print statement, which should end in $array3
$k and not $array
$k
the hardest line to type correctly is: stty erase ^H