Created Main.cpp

Alright, just made main.cpp, it contains all the code right now because it's a work in progress - splitting things up, organizing them into a hierarchy comes later. The real issue here right now, is that when you call RemoveSingles() after calling GenerateEncoding(), it creates a crash. I found that this crash is because of a messed up memory address shift that should not be occuring, and I've isolated it down to that something is messed up with the RemoveSingles() function, not any of the other functions. so that's the problem area right now that needs fixing before I can move on.