The Scarf Complex of Weighted Edge Ideals