New CACHE class. Very nice.

A simple input-matching cacheing class. with several methods. Supports saving of arbitrary number of input patterns tied to outputs. shc_lc_ic has been updated to use it instead of old scheme.

Signed-off-by: Andrew D. Horchler <adh9@case.edu>