This is me ranting about my own stupidity. I spent so many hours tonight trying to debug a particular piece of code – turns out the code I wrote was correct but I was continually loading the wrong input file every time I ran it and was too stupid to realize it!!