randLine function

Generate two-dimensional random paths