Bash Script Array Size Python Code For Snake