First draft of finger recognizer code.

Doesn't work yet, but better to have something than nothing.