Bash Script Array Size Python Code Runner