Massachusetts ranks as 3rd fastest housing market in U.S.