Peabody man wins $500K on Lottery ticket