K-hop Localization in dense sensor networks