format_qca_solutions function

Format multiple QCA solutions