Lab5: Finished substring matcher