Implement more efficient __str__ method
Use getFilled() when generating set