adds to solved array