what adventure did polydectes that perseus undertake