A prototype of an inferrence engine