Step-by-Step Implementation of Mask R-CNN for Image Segmentation