Program to check gesture database