Change to array-based keyword identification and weighting system

New functions created: keyadd(), keycheck(), command().

Various original responses replicated, but not all responses complete.

Bug fixes.