wrote buffer function using shapely and fiona