rename "Symbol" to "Literal"

I'm honestly not sure why I called it "Symbol" in the first place
a whole host of little style changes
added NFA.setStart function for changing start state
added function NFA.addEdges for adding multiple edges