Program to recognise basketball match records