corrected bug for 'abc' string, errors remaining for other testcases
added simulation scripts