Fixed set method in BitString class ; Added methods substring, equals and contains.