Stream-lined feature extraction

Made the feature extraction more flexible and easier to add features.
Attempted looking two characters back and forward in addition to
immediately preceding and following characters, but this lowered the
accuracy to about 65%.