Add #40 Bash solution