A Simulator for an Amorphous Computer