Solved p43, Substring Divisibility, using a bit of number theory to simplify things greatly. Not the clearest code, but the comments help.