Single-family home in Myrtle Beach sells for $502,000