edX: CS, Python. Test and code for isSubstr.