a simple adding machine like script, for summing numbers