`https://gist.github.com/54fc7484f755c436522bf862eba4811a`

Above is my code for the median exercise for the practice makes perfect lesson. The program is trying to run the list [4,5,5,4] but I'm receiving an error that my list index is out of range. does my problem perhaps have to do with a misuse of pythons starting index being 0? I feel like that might be it but I'm not sure. Any and all help is appreciated. Thank You!