Automated fly tracking and courtship behavior scoring code