perl project to catch duplicate homework submissions