My attempt at signature recognition