add numpy arange equivalent