shapeToRaster function

Load shapefile and convert to a raster object.