fnxy first programs; simplega with negative values