The cost of a single-family home in Andover, Massachusetts, soared double digits during the first four months of the year, outpacing neighboring North Andover, Massachusetts, according to a sales analysis by the Massachusetts Association of Realtors.