Study reveals best locations for new home buyers in terms of affordability