cleaned up main .js file and added pseudocode.txt file

I cleaned up a bit of the code in numerologistics.js, just to make it
more readable. I also added a pseudocode.txt file to help me logic
through the program before I start rewriting it.