Simple C programm. Read x and counts x+1