Statistical simulation of the structure of amorphous alloys