Programs by Avalanche