A Two-Step Iterative Procedure for Clustering of Binary Sequences