AI tool replicates handwriting math problems